import request from "@/utils/request";
//params get
//data post

//绑定微信接口
export function bindOpenId(parameter) {
  return request({
    url: "/sys/weixin/pad/bindOpenId",
    method: "get",
    params: parameter
  });
}

//解除绑定微信接口
export function removeOpenid() {
  return request({
    url: "/sys/weixin/pad/remove",
    method: "get"
    //params: parameter,
  });
}

//微信登录
export function login(parameter) {
  return request({
    url: "/sys/weixin/pad/login",
    method: "get",
    params: parameter
  });
}

//用户个人信息
export function userInfo() {
  return request({
    url: "/sys/user/pad/info",
    method: "get"
    //params: parameter,
  });
}

export function logout() {
  return request({
    url: "/sys/pad/logout",
    method: "get"
  });
}
